﻿using System.Collections.Generic;
using DevFramework.Business.Abstract;
using DevFramework.Business.DependencyResolvers.Ninject;
using DevFramework.Entities.Concrete;
using DevFramework.Business.Abstract;
using DevFramework.Entities.Concrete;

namespace DevFramework.Service
{
    public class CategoryService : ICategoryService
    {
        private readonly ICategoryService _categoryService;

        public CategoryService()
        {
            _categoryService = InstanceFactory<ICategoryService>.GetInstance();
        }

        public List<Category> GetAll()
        {
            return _categoryService.GetAll();
        }

        public Category Add(Category category)
        {
            throw new System.NotImplementedException();
        }
    }
}
